package org.karai.frame.model;

import static java.lang.Thread.MAX_PRIORITY;
import static java.lang.Thread.MIN_PRIORITY;
import static java.lang.Thread.NORM_PRIORITY;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import androidx.lifecycle.MutableLiveData;

import org.karai.frame.core.base.IBaseModel;
import org.karai.frame.core.base.IBasePresenter;
import org.karai.frame.core.okhttpUtils.OkhttpUtils;

import java.io.IOException;
import java.util.concurrent.atomic.AtomicReference;

import okhttp3.Response;
import okhttp3.ResponseBody;


/**
 * @author karai
 * 测试的model  用于处理数据交换
 */
public class ITestModel implements IBaseModel {

    ResponseBody  string = null ;

    MutableLiveData<String> stringMutableLiveData = new MutableLiveData<>();


    public  void handleThings(Activity activity , IBasePresenter iBasePresenter) {
        OkhttpUtils.builder()
                .HttpGet("https://www.baidu.com/", "100", activity, iBasePresenter);
    }


}
